package com.easy.easylibdemo.http;

import com.easy.easylibdemo.ui.okgo.model.RegisterUuid4AppBean;
import com.easylib.base.BaseHttpUtils;
import com.easylib.okhttp.ResultCallback;
import com.lzy.okhttputils.model.HttpParams;

/**
 * 作　　者: guyj
 * 修改日期: 2016/11/19
 * 描　　述:
 * 备　　注:
 */
public class HttpUtils extends BaseHttpUtils{

    private static class SingleTon{
        private static HttpUtils getInstance=new HttpUtils();
    }
    public static HttpUtils getInstance() {
        return SingleTon.getInstance;
    }
    private HttpUtils() {}
    private HttpParams httpParams;
    private String host="http://www.onemorecloset.com:8081/omcserver1";
    private String registerUuid4App = "/app/base/registerUuid4App.action";

    public void registerUuid4App(String uuid , ResultCallback<RegisterUuid4AppBean> callback){
        httpParams=new HttpParams();
        httpParams.put("uuid",uuid);
        httpPost(host,registerUuid4App,httpParams,callback);
    }


}
